package cn.ekuma.data.ui.android;

import android.view.View;

import cn.ekuma.android.ui.filter.QuickTimeFilter;
import cn.ekuma.android.ui.filter.TimeCycleChangedListener;
import cn.ekuma.data.dao.I_DataLogic;
import cn.ekuma.data.dao.bean.I_ViewBean;

public abstract class AbstractTimeCycleListenerImplListActivate<T extends I_ViewBean> extends AbstractListFinderActivate<T> implements  TimeCycleChangedListener{

    
	protected QuickTimeFilter quickTimeFilter;

    protected AbstractTimeCycleListenerImplListActivate(I_DataLogic dataLogic) {
        super(dataLogic);
    }

    public View createFilterPanel(){
	    quickTimeFilter=new QuickTimeFilter(this);
		quickTimeFilter.setTimeCycleChangedListener(this);
    	return quickTimeFilter;
	}
	
	public View createContentPanel() {
        super.createContentPanel();
		registerForContextMenu(main.getListview());
		return main;
	}

    @Override
    public void baseBeanSelected(T obj, int position) {
    }
}
